<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>修改学生</title>
</head>
<body>
<div>
  <form action="/stu/updateStu" method="post">
    <input type="text" name="stuId" th:value="${stu.stuId}" hidden>
    姓名:<input type="text" name="stuName" th:value="${stu.stuName}"><br>
    班级:<select name="stuClass">
    <option th:value="${classes.classId}" th:each="classes:${classesList}" th:text="${classes.className}"></option>
      </select><br>
    <input type="submit" value="修改">
  </form>

</div>
</body>
</html>